package com.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Zhengjz
 * @version 1.0
 * @className CriticMapper
 * @date 2021/3/5 13:18
 */
@Data
@ToString
public class Critic implements Serializable {

    private Integer id;
    private Integer userId;
    private Integer orderId;
    private String pinglun;
    private User user;


    public Critic(Integer id, Integer userId, Integer orderId, String pinglun, User user) {
        this.id = id;
        this.userId = userId;
        this.orderId = orderId;
        this.pinglun = pinglun;
        this.user = user;
    }

    public Critic(){}
}
